package com.bjx.auth.service;

import com.bjx.auth.domain.vo.CodeVO;
import com.bjx.common.security.domain.LoginUserVO;
import com.bjx.auth.domain.vo.LoginVO;

import javax.servlet.http.HttpServletResponse;

public interface LoginService {
    /**
     * 用户登录
     * @param loginVO
     * @return: com.bjx.common.security.domain.LoginUserVO
     * @Author: liushuai
     * @Date: 2022/10/19
     */
    LoginUserVO login(LoginVO loginVO);

    /**
     * 获取验证码
     * @param response
     * @return: com.bjx.auth.domain.vo.CodeVO
     * @Author: liushuai
     * @Date: 2022/10/19 14:45
     */
    CodeVO getCode(HttpServletResponse response);
}
